package com.lfs.admin.service;

import com.lfs.admin.model.entity.channel.ChannelGroupEntity;
import com.lfs.admin.model.entity.channel.ChannelToGroupEntity;
import com.lfs.admin.model.vo.channel.ChannelGroupVO;
import com.lfs.admin.model.vo.channel.ChannelToGroupVO;

import java.util.List;

public interface ChannelGroupService {

    ChannelGroupEntity getChannelGroupById(Integer id);

    List<ChannelGroupEntity> queryChannelGroupList(ChannelGroupVO channelGroupVO);

    List<ChannelToGroupEntity> getChannelToGroup(ChannelToGroupVO channelGroupVO);

    int updateChannelGroup(ChannelGroupVO productGroupVo);

    int updateWeight(ChannelToGroupVO channelToGroupVO);

    int addChannelGroup(ChannelGroupVO productGroupVo);

    int addChannelToGroup(ChannelGroupVO productGroupVo);

    int deleteChannelGroup(Integer[] ids);

    int deleteChannelToGroup(Integer[] ids);
}
